package com.tianya;

import com.tianya.common.config.Config;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class
})
@ImportResource(locations = {
        "classpath:spring-extend.xml"
})
public class TianyaApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(TianyaApiApplication.class, args);
    }

}
